
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 属性表
    /// </summary>
    public partial class AttributeInfo:BaseModel
    {
    
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        public long TypeId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        public long DisplaySequence { get; set; }
        /// <summary>
        /// 是否为必选
        /// </summary>
        public bool IsMust { get; set; }
        /// <summary>
        /// 是否可多选
        /// </summary>
        public bool IsMulti { get; set; }
    
        public virtual ICollection<AttributeValueInfo> AttributeValueInfo { get; set; } = new HashSet<AttributeValueInfo>();
        public virtual ProductTypeInfo TypesInfo { get; set; } 
        public virtual ICollection<ProductAttributeInfo> ProductAttributesInfo { get; set; } = new HashSet<ProductAttributeInfo>();
    }
}
